package com.redis.common;


import java.io.Serializable;
import java.util.Date;


public class TokenInfo implements Serializable {
    /**
     * 登录用户名
     */
    private String username;
    /**
     * 登录token
     */
    private String token;
    /**
     * token最新一次访问时间
     */
    private Date lastTime;

    /**
     * 公司ID
     */
    private Long companyId;    /**
     * 公司name
     */
    private String companyName;
    /**
     * OBID定义
     */
    private String obisDefine;
    /**
     * 用户姓名
     */
    private String name;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getObisDefine() {
        return obisDefine;
    }

    public void setObisDefine(String obisDefine) {
        this.obisDefine = obisDefine;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
